c601d5a0f40bd864750933f2235e18e8b5761e91,src/main/java/jenkins/branch/MultiBranchProject.java,MultiBranchProject,computeChildren,#ChildObserver#TaskListener#,408
Before Change
for (ListIterator<SCMSource> iterator = scmSources.listIterator(scmSources.size());
iterator.hasPrevious(); ) {
SCMSource source = iterator.previous();
persistentActions.putAll(source.fetchActions(listener)); // first source always wins
}
// update any persistent actions for the SCMSource
if (!persistentActions.isEmpty()) {
After Change
try {
final BranchProjectFactory<P, R> _factory = getProjectFactory();
List<SCMSource> scmSources = getSCMSources();
Map<String, List<Action>> sourceActions = new LinkedHashMap<>();
for (SCMSource source : scmSources) {
sourceActions.put(source.getId(), source.fetchActions(null, listener));
}
// update any persistent actions for the SCMSource
if (!sourceActions.equals(state.sourceActions)) {